package com.dominator.repository;

import java.util.List;

import javax.annotation.Resource;

import com.dominator.mybatis.dao.T_provinceDao;
import com.dominator.utils.dao.JdbcHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.dominFramework.core.dao.SqlDao;
import com.dominFramework.core.typewrap.Dto;

@Repository
public class DaoProvince {
	@Resource
	JdbcHelper jh;

	

	@Autowired
	SqlDao sqlDao;

	
	@Autowired
	T_provinceDao provinceDao;
	
	
	
	/**
	 * 查询所有的省份
	 * @return
	 */
	public List<Dto> getAllProvince(Dto dto){
		return sqlDao.list("Province.selectAll", dto);
	}
	
	
	
	
	
	
	
	
	
	

}
